package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Baomidou
 * @since 2025-06-12
 */
@Getter
@Setter
@TableName("contact_methods")
public class ContactMethods implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "contact_id", type = IdType.AUTO)
    private Integer contactId;

    private Integer userId;

    private String contactType;

    private String contactValue;

    private Boolean isVerified;

    private Boolean isDeleted;

    private String verificationCode;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
